<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小闲每日事项</title>
    <style>
        body {
            background: linear-gradient(to right,
                    rgb(113, 65, 168),
                    rgba(44, 114, 251, 1));
        }

        .top-app {
            padding-top: 30px;
            width: 98%;
            height: 500px;
            background-color: #ffff;
            border-radius: 50px;
            margin-top: 40px;
            margin-left: 1%;
            box-sizing: border-box;
        }

        .title {
            font-size: 30px;
            font-weight: 700;
            text-align: center;

        }

        .todo-from {
            display: flex;
            margin-top: 20px;
            margin-left: 60px;
        }

        .todo-input {
            border: 1px soild #e9edf4;
            padding-left: 15px;
            margin-bottom: 20px;
            outline: none;
            width: 60%;
            height: 50px;
            border-radius: 20px 0 0 20px;
        }

        .todo-buttom {
            width: 100px;
            height: 52px;
            border-radius: 0 20px 20px 0;
            text-align: center;
            background: linear-gradient(to right,
                    rgb(113, 65, 168),
                    rgba(44, 114, 251, 1));
            cursor: pointer;
            user-select: none;
            color: #ffff;
            line-height: 52px;
        }

        .item {
            display: flex;
            box-sizing: border-box;
            align-items: center;
            justify-content: space-between;
            width: 80%;
            height: 50px;
            margin: 8px auto;
            padding: 16px;
            border-radius: 20px;
            box-shadow: rgba(149, 157, 165, 0.2)0px 8px 20px;
        }
        .del{
            color: red;
        }
        .completed{
            text-decoration: line-through;
            opacity: 0.4;
        }
    </style>
</head>

<body>
    <div class="top-app">
        <div class="title">小闲TODO APP</div>
        <div class="todo-from">
            <input class="todo-input" type="text" placeholder="Add a todo" />
            <div class="todo-buttom">Add todo</div>
        </div>

        <div class="item completed">
            <div>
                <input type="checkbox" />
                <span class="name">吃饭</span>
            </div>
            <div class="del">del</div>
        </div>
           <div class="item completed">
            <div>
                <input type="checkbox" />
                <span class="name">睡觉</span>
            </div>
            <div class="del">del</div>
        </div>
           <div class="item completed">
            <div>
                <input type="checkbox" />
                <span class="name">刷牙</span>
            </div>
            <div class="del">del</div>
        </div>
    </div>
</body>

</html>